package com.qh.yyxt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qh.yyxt.pojo.entity.meeting.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User>
{
    public User findUser(String username,String password,String role);
    public User findUserByUsername(String username);
    public User findUserById(int id);
    //修改user的信息(不包含密码)
    public int  updateByUserName(String username,String tel1,String tel2,String tel3);
    //修改密码
    public int updatePwd(String username,String password,String salt);
    //添加user
    public int add(User user);
}

